package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.GiftCardTemplate;

import java.util.List;

@DBMapper
public interface GiftCardTemplateMapper {
    int deleteByPrimaryKey(Integer cardId);

    int insert(GiftCardTemplate record);

    int insertSelective(GiftCardTemplate record);

    GiftCardTemplate selectByPrimaryKey(Integer cardId);

    int updateByPrimaryKeySelective(GiftCardTemplate record);

    int updateByPrimaryKey(GiftCardTemplate record);

    List<GiftCardTemplate> selectByCondition(GiftCardTemplate record);


}